package jdk8.optional;

public class Person {
    private String name;
    private int age;
    private House house;

    public House getHouse() {
        return house;
    }
}

class House {
    private long price;
    private Address address;

    public Address getAddress() {
        return address;
    }
}

class Address {
    private String country;
    private String city;

    public String getCity() {
        return city;
    }
}
